project("mesh_viewer")

find_package(Qt5Core)
find_package(Qt5Widgets)
find_package(Qt5Gui)
find_package(Qt5OpenGL)

file(GLOB SOURCE "*.cpp" "*.h")

add_executable(${PROJECT_NAME} ${SOURCE})
target_link_libraries(${PROJECT_NAME} mesh GL)
qt5_use_modules(${PROJECT_NAME} Core Gui Widgets OpenGL)
